Data Object Classification Using an Optimized Neural Network

ABSTRACT

A system includes a computing platform having a hardware processor and a memory storing a software code and a neural network (NN) having multiple layers including a last activation layer and a loss layer. The hardware processor executes the software code to identify different combinations of layers for testing the NN, each combination including candidate function(s) for the last activation layer and candidate function(s) for the loss layer. For each different combination, the software code configures the NN based on the combination, inputs, into the configured NN, a training dataset including multiple data objects, receives, from the configured NN, a classification of the data objects, and generates a performance assessment for the combination based on the classification. The software code determines a preferred combination of layers for the NN including selected candidate functions for the last activation layer and the loss layer, based on a comparison of the performance assessments.

RELATED APPLICATION(S)

The present application claims the benefit of and priority to a pendingProvisional Patent Application Ser. No. 62/936,125, filed Nov. 15, 2019,and titled “Loss for Resistance to Noise (LoRN),” which is herebyincorporated fully by reference into the present application.

BACKGROUND

Datasets are a subset of real-world distributions and contain biases andnoise. Despite being carefully constructed, deep neural networks (NNs)trained as classifiers on noisy datasets tend to inherit their biasesand errors. Those biases and errors present as noise in a dataset maytake the form of incorrect labels applied to the data, missing labels,superfluous labels, as well as label frequency imbalance, for instance.Moreover, extreme noise is a typical characteristic of unstructureddatasets including highly varied data for which it is often not feasibleto utilize standard data preparation techniques, such as structuring orcleansing for example, before deep learning takes place.

A recent conventional solution to the problem of noisy datasets assignsa specific focus for each label and sample in the dataset. However,calculation of the focal loss requires additional weights and tuning,which limits the usefulness of the solution in applications for which itis not specifically designed. Another conventional approach relies on apure softmax activation and multi-class cost calculation, but istypically not robust enough for unstructured data.

SUMMARY

There are provided systems and methods for performing data objectclassification using an optimized neural network, substantially as shownin and/or described in connection with at least one of the figures, andas set forth more completely in the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a diagram of an exemplary system for classifying dataobjects, according to one implementation;

FIG. 2 shows an exemplary diagram of a data classification neuralnetwork suitable for use in the system of FIG. 1, according to oneimplementation;

FIG. 3 shows a flowchart presenting an exemplary method for use by asystem for classifying data objects to train a neural network using anoisy dataset, according to one implementation;

FIG. 4 shows a flowchart presenting an exemplary method for use by thesystem of FIG. 1 to generate a dataset for training a neural network toclassify images, according to one implementation; and

FIG. 5 shows an exemplary diagram of a portion of a dataset generatedusing the method outlined by the flowchart in FIG. 4, according to oneimplementation.

DETAILED DESCRIPTION

The following description contains specific information pertaining toimplementations in the present disclosure. One skilled in the art willrecognize that the present disclosure may be implemented in a mannerdifferent from that specifically discussed herein. The drawings in thepresent application and their accompanying detailed description aredirected to merely exemplary implementations. Unless noted otherwise,like or corresponding elements among the figures may be indicated bylike or corresponding reference numerals. Moreover, the drawings andillustrations in the present application are generally not to scale, andare not intended to correspond to actual relative dimensions.

The present application discloses systems and methods for performingdata object classification using an optimized neural network thatovercome the drawbacks and deficiencies in the conventional art. It isnoted that, in some implementations, the methods disclosed by thepresent application may be performed as substantially automatedprocesses by substantially automated systems. It is further noted that,as used in the present application, the terms “automation,” “automated”,and “automating” refer to systems and processes that do not require theparticipation of a human user, such as a system operator. Although, insome implementations, a human system operator or administrator mayreview the performance of the automated systems described herein, thathuman involvement is optional. Thus, the methods described in thepresent application may be performed under the control of hardwareprocessing components of the disclosed automated systems.

It is also noted that although the present concepts confer exceptionaladvantages over conventional solutions when training datasets areextremely noisy, those same concepts can be used to optimize training ofneural networks using training datasets that are structured, cleansed,or otherwise lacking in significant noise in the form of mislabeleddata, unlabeled data, superfluously labeled data, or label frequencyimbalance.

Moreover, as defined in the present application, an artificial neuralnetwork, also known simply as a neural network (hereinafter “NN”), is atype of machine learning framework in which patterns or learnedrepresentations of observed data are processed using highly connectedcomputational layers that map the relationship between inputs andoutputs. A “deep neural network,” in the context of deep learning, mayrefer to a neural network that utilizes multiple hidden layers betweeninput and output layers, which may allow for learning based on featuresnot explicitly defined in raw data. As used in the present application,a feature labeled as an NN refers to a deep neural network. Variousforms of NNs may be used to make predictions about new data based onpast examples or “training dataset.” In various implementations, NNs maybe trained as classifiers and may be utilized to perform imageprocessing or natural-language processing.

FIG. 1 shows a diagram of exemplary system 100 for classifying dataobjects, according to one implementation. As discussed below, system 100may be implemented using a computer server accessible over a local areanetwork (LAN) or may be implemented as a cloud-based system. As shown inFIG. 1, system 100 includes computing platform 102 having hardwareprocessor 104, and system memory 106 implemented as a non-transitorystorage device. According to the present exemplary implementation,system memory 106 stores software code 110, training database 112, anddata classification NN 140.

As further shown in FIG. 1, system 100 is implemented within a useenvironment including communication network 108 and dataset repository120. Also shown in FIG. 1 are network communication links 128interactively connecting dataset repository 120 and system 100 viacommunication network 108, source data 114 obtainable from datasetrepository 120 by system 100, training dataset 116 including multipledata objects, and classification 118 of the data objects included intraining dataset 116, output by data classification NN 140.

It is noted that, although the present application refers to softwarecode 110, data classification NN 140, and training database 112 as beingstored in system memory 106 for conceptual clarity, more generally,system memory 106 may take the form of any computer-readablenon-transitory storage medium. The expression “computer-readablenon-transitory storage medium,” as used in the present application,refers to any medium, excluding a carrier wave or other transitorysignal that provides instructions to hardware processor 104 of computingplatform 102. Thus, a computer-readable non-transitory medium maycorrespond to various types of media, such as volatile media andnon-volatile media, for example. Volatile media may include dynamicmemory, such as dynamic random access memory (dynamic RAM), whilenon-volatile memory may include optical, magnetic, or electrostaticstorage devices. Common forms of computer-readable non-transitory mediainclude, for example, optical discs, RAM, programmable read-only memory(PROM), erasable PROM (EPROM), and FLASH memory.

It is further noted that although FIG. 1 depicts software code 110, dataclassification NN 140, and training database 112 as being co-located insystem memory 106, that representation is also provided merely as an aidto conceptual clarity. More generally, system 100 may include one ormore computing platforms 102, such as computer servers for example,which may be co-located, or may form an interactively linked butdistributed system, such as a cloud-based system, for instance.

As a result, hardware processor 104 and system memory 106 may correspondto distributed processor and memory resources within system 100. Thus,it is to be understood that software code 110, data classification NN140, and training database 112 may be stored and/or executed using thedistributed memory and/or processor resources of system 100. Computingplatform 102 may correspond to one or more web servers, accessible overa packet-switched network such as the Internet, for example.Alternatively, computing platform 102 may correspond to one or morecomputer servers supporting a wide area network (WAN), a LAN, orincluded in another type of limited distribution or private network.

System 100 utilizes software code 110 to optimize the configuration ofdata classification NN 140 with respect to its performance androbustness to the presence of noise in training dataset 116. Forexample, such noise may include small margin and large margin labelnoise, label frequency imbalance in which one or more labels are presentin training dataset 116 much more frequently than others, and/or thepresence of a large number of data classes for the task of multi-labelclassification. In order to optimize the configuration of dataclassification NN 140, hardware processor 104 executes software code 110to determine a preferred combination of activation and loss functionsimplemented by the activation and loss layers of data classification NN140.

By way of context, in the domain of data classification, theconventional choices for loss functions have depended on the type ofdata being classified. For multi-label classification, the goal is toprovide multiple labels within one classification result. Formulti-class classification, by contrast, where the cardinality of theclass is more than binary, only one class is active at a time. Thesoftmax loss, or logistic loss, has traditionally been the preferredloss function for multi-class problems. For the multi-label problem, onthe other hand, a sigmoid-based loss has traditionally been used. Ineach use case, however, either the softmax or the sigmoid function wasused, but those activations were not used in combination. In thepresence of noise, however, the performance of either activationfunction alone is suboptimal.

Referring now to FIG. 2, FIG. 2 shows an exemplary diagram of dataclassification NN 240 suitable for use in system 100, in FIG. 1. Asshown in FIG. 2, data classification NN 240 includes multiple “n”non-linear activation layers 242 (hereinafter “activation layers 242”)including first activation layer 242(1) through last activation layer242(n). In addition data classification NN 240 includes loss layer 244following last activation layer 242(n). Also identified in FIG. 2 areactivation layer 242(n−1) preceding last activation layer 242(n),training dataset 216, and classification 218 of data objects included intraining dataset 216.

Training dataset 216 and classification 218 correspond respectively ingeneral to training dataset 116 and classification 118, in FIG. 1, andthose features may share any of the characteristics attributed to eithercorresponding feature by the present disclosure. In addition, dataclassification NN 240 corresponds in general to data classification NN140, and those features may share the characteristics attributed toeither corresponding feature by the present disclosure. That is to say,like data classification NN 240, data classification NN 140 may includemultiple activation layers 242 including last activation layer 242(n),and loss layer 244.

It is noted that a basic NN includes a variety of layers such as losslayers, non-linear activation layers, and normalization layers. Thoselayers are typically used in well-established arrangements. However, asdisclosed in the present application, when trained using a noisytraining dataset, there are more effective alternative combinations oflayers that can result in significant performance benefits.

It is further noted that the optimization solution disclosed hereinmodels the noise learning as less strict learning to provide acontinuous convergence on noisy labels, which are in turn less severelypenalized. The combination of activation layers 242 normalizes theoutput values and further limits the output to an upper and lower bound.This allows the co-existence of noisy and correct labels.

Activation layers 242 may implement any of several candidate activationfunctions. One or more of activation layers 242 may take the form of arectified linear unit (ReLU), exponential linear unit (ELU), or scaledELU (SELU), or may implement sigmoid, softmax, or softplus activationfunctions, to name a few examples. Sigmoid and softmax activations bothprovide a normalization on top of the otherwise unbounded logit valuesto obtain probability values. The classical sigmoid activation functionis defined as:

$\begin{matrix}{{{sigmoid}\left( \hat{a} \right)} = {\frac{\exp \left( \hat{a} \right)}{1 + {\exp \left( \hat{a} \right)}} = \frac{1}{1 + {\exp \left( {- \hat{a}} \right)}}}} & \left( {{Equation}\mspace{14mu} 1} \right)\end{matrix}$

with â being the activation of the previous layer. The result calculatedper class individually is a softened response value {circumflex over(p)}, which is used as the predicted probability value in the lossfunction or functions. By contrast the softmax activation functionincorporating all classes is defined as:

$\begin{matrix}{{{softmax}\left( \hat{a} \right)} = {\frac{\exp \left( \hat{a} \right)}{\sum\limits_{j = 1}^{K}{\exp \left( {\hat{a}}_{j} \right)}} = {\exp \left( {{\hat{a}}_{i} - {\log \left( {\sum\limits_{j = 1}^{K}{\exp \left( {\hat{a}}_{j} \right)}} \right)}} \right)}}} & \left( {{Equation}\mspace{14mu} 2} \right)\end{matrix}$

The difference between the sigmoid and softmax activation functionsbeing that sigmoid normalizes multiple independent classes on their own,whereas softmax normalizes over all classes and pushes the topactivation further up.

Subsequent to the activation function implemented by the last activationlayer 242(n), the loss is calculated by loss layer 244 on top of thepredicted values p of the last activation layer 242(n). For multi-classclassification tasks, the cross entropy loss function is typicallyemployed to calculate the cost. The cross entropy loss function treats pas the conditional empirical distribution over the given class labels.It measures the uncertainty against a given ground truth distribution qwithin the K distinct classes. The cross entropy (hereinafter “CE”)loss, also known as logistic loss due to its being identical except fora multiplicative constant, is defined as:

CE(p, q)=−Σ_(i=1) ^(K) q _(i)·log(p _(i))   (Equation 3)

where p is the predicted probability distribution and q is the statictrue distribution given by the labels. For multi-label classificationproblems, the CE is calculated over each label independently, similarlyto binary cross entropy (hereinafter “BCE”) loss, and results in amulti-label cross entropy (hereinafter “MCE”) loss as:

MCE(p, q)=−Σ_(i=1) ^(K) q _(i)·log(p _(i))+(1−q _(i))·log(1−p _(i))  (Equation 4)

where for each class there is a single predicted probability value andits inverse. This effectively compares the two distributions (i.e.,target and predicted), whereas the predicted distribution is evaluatedunder a log-likelihood. Since this requires valid distributions, thereis the additional normalization effect of the above mentioned sigmoidand softmax.

Almost any combination of activation layers 242 and loss layer 244 isfeasible. We continue to derive the following full loss functions forthe standard cases of multi-class and multi-label. For example,combining last activation layer 242(n) in the form of a softmaxactivation layer with loss layer 244 implementing a CE loss gives softCEas any of the following expressions:

$\begin{matrix}{{softCE} = {- {\sum\limits_{i = 1}^{K}{q_{i} \cdot {\log \left( {\hat{p}}^{*} \right)}}}}} & \left( {{Equation}\mspace{14mu} 5} \right) \\{{softCE} = {- {\sum\limits_{i = 1}^{K}{q_{i} \cdot {\log\left( \frac{\exp \left( \hat{a} \right)}{\sum\limits_{j = 1}^{K}{\exp \left( {\hat{a}}_{j} \right)}} \right)}}}}} & \left( {{Equation}\mspace{14mu} 6} \right) \\{{softCE} = {- {\sum\limits_{i = 1}^{K}{q_{i} \cdot \left( {{\hat{a}}_{i} - {\log \left( {\sum\limits_{j = 1}^{K}{\exp \left( {\hat{a}}_{j} \right)}} \right)}} \right)}}}} & \left( {{Equation}\mspace{14mu} 7} \right)\end{matrix}$

where {circumflex over (p)}* is the softmax output of the activation â.As shown above, the explicit form can be simplified into the classicform and its normalization can be subtracted.

Similarly, the sigmoid multi cross entropy sigMCE can be expressed asany of the following:

$\begin{matrix}{\mspace{20mu} \begin{matrix}{{sigMCE} = {{- {\sum\limits_{i = 1}^{K}{q_{i} \cdot {\log \left( {\hat{p}}_{i} \right)}}}} + {\left( {1 - q_{i}} \right) \cdot {\log \left( {1 - p_{i}} \right)}}}} \\{= {{- {\sum\limits_{i = 1}^{K}{{q_{i} \cdot \log}\left( \frac{\exp \left( {\hat{a}}_{i} \right)}{1 + {\exp \left( {\hat{a}}_{i} \right)}} \right)}}} +}} \\{{\left( {1 - q_{i}} \right) \cdot {\log \left( {1 - \frac{\exp \left( {\hat{a}}_{i} \right)}{1 + {\exp \left( {\hat{a}}_{i} \right)}}} \right)}}}\end{matrix}} & \left( {{Equation}\mspace{14mu} 8} \right) \\{{sigMCE} = {{\sum\limits_{i = 1}^{K}{q_{i} \cdot {\log \left( {1 + {\exp \left( {- a_{i}} \right)}} \right)}}} + {\left( {1 - q_{i}} \right) \cdot \left( {a_{i} + {\log \left( {1 + {\exp \left( {- a_{i}} \right)}} \right)}} \right)}}} & \left( {{Equation}\mspace{11mu} 9} \right) \\\begin{matrix}{{sigMCE} = {{\sum\limits_{i = 1}^{K}a_{i}} + {\log \left( {1 + {\exp \left( {- a_{i}} \right)}} \right)} - {q_{i} \cdot a_{i}}}} \\{= {{\sum\limits_{i = 1}^{K}{\log \left( {\exp \left( a_{i} \right)} \right)}} + {\log \left( {1 + {\exp \left( {- a_{i}} \right)}} \right)} - {a_{i} \cdot q_{i}}}} \\{= {{\sum\limits_{i = 1}^{K}{\log \left( {{\exp \left( a_{i} \right)} \cdot \left( {1 + {\exp \left( {- a_{i}} \right)}} \right)} \right)}} - {a_{i} \cdot q_{i}}}} \\{= {{\sum\limits_{i = 1}^{K}{\log \left( {{\exp \left( a_{i} \right)} + 1} \right)}} - {a_{i} \cdot q_{i}}}}\end{matrix} & \left( {{Equation}\mspace{14mu} 10} \right)\end{matrix}$

where {circumflex over (p)} is the sigmoid output of the activation â.As shown above, the explicit form can be significantly simplified due tothe sigmoid.

A sigmoid activation followed by a CE loss leads to different penaltycosts expressed as either of the following:

$\begin{matrix}{{sig{CE}} = {\sum\limits_{i = 1}^{K}{q_{i} \cdot {\log \left( {\hat{p}}_{i} \right)}}}} & \left( {{Equation}\mspace{14mu} 11} \right) \\{{sigCE} = {\sum\limits_{i = 1}^{K}{q_{i} \cdot {\log\left( \frac{\exp \left( {\hat{a}}_{i} \right)}{\sum\limits_{i = 1}^{K}{\exp \left( {\hat{a}}_{i} \right)}} \right)}}}} & \left( {{Equation}\mspace{14mu} 12} \right)\end{matrix}$

where just the active label portion is accumulated and the {circumflexover (p)} is the sigmoid of the activation â. This has the effect ofnormalization while only evaluating where the label is active.

Alternatively, combining softmax and MCE loss gives softMCE as:

softMCE=−Σ_(i=1) ^(K) q _(i)·log({circumflex over (p)}* _(i))+(1−q_(i))·log(1−{circumflex over (p)}* _(i))   (Equation 13)

where both the active and inactive labels are accumulated and the{circumflex over (p)}* is the softmax of the activation â. Asinteresting as the above combinations are, even more interesting arecombinations including activation layer 242(n−1) as well as lastactivation layer 242(n) and loss layer 244. Those combinations canadvantageously lead to aggregation of the normalization effects imposedby each of activation layer 242(n−1) and last activation layer 242(n)alone, for example by applying a softmax cross entropy over a sigmoidactivation, or vice versa.

As a specific example, activation layer 242(n−1) implementing a sigmoidactivation function, followed by last activation layer 242(n)implementing a softmax activation function, followed by loss layer 244implementing a CE loss function results in:

sigsoftCE=−Σ_(i=1) ^(K) q _(i)·({circumflex over (p)} _(i)−log(Σ_(j=1)^(K)exp({circumflex over (p)} _(j))))   (Equation 14)

with {circumflex over (p)}=sigmoid(â). This evaluates explicitly toeither of the following expressions:

$\begin{matrix}{{sigsoftCE} = {- {\sum\limits_{i = 1}^{K}{q_{i} \cdot {\log\left( \frac{\exp \left( {\hat{a}}_{i} \right)}{\sum\limits_{i = 1}^{K}{\exp \left( {\hat{a}}_{i} \right)}} \right)}}}}} & \left( {{Equation}\mspace{14mu} 15} \right) \\{{sigsoftCE} = {{- q_{i}} \cdot {\log \left( {\sum\limits_{j = 1}^{K}{\exp \left( \frac{\exp \left( {\hat{a}}_{j} \right)}{1 + {\exp \left( {\hat{a}}_{j} \right)}} \right)}} \right)}}} & \left( {{Equation}\mspace{14mu} 16} \right)\end{matrix}$

This also shows a normalization effect on active labels and bounds theactivation values for the subsequent softmax layer. The maximal valueafter the sigmoid will be one, and hence the softmax is normalized dueto its bounded input, similar to “double exponential” functions.

As another specific example, instead of the last activation layer 242(n)implementing a softmax activation function, it may implement anL₁-normalization function. That is to say, in one implementation,activation layer 242(n−1) may implement a sigmoid activation function,followed by last activation layer 242(n) implementing anL₁-normalization function, followed by loss layer 244 implementing a CEloss function, resulting in:

signormCE=Σ_(i=1) ^(K) q _(i)·log({circumflex over (p)}* _(i))  (Equation 17)

where {circumflex over (p)}* is defined as:

$\begin{matrix}{{{\hat{p}}^{*}\left( \hat{a} \right)} = \frac{{sigmoid}\left( {\hat{a}}_{i} \right)}{\sum\limits_{j = 1}^{K}{{sigmoid}\left( {\hat{a}}_{j} \right)}}} & \left( {{Equation}\mspace{14mu} 18} \right)\end{matrix}$

Software code 110 and data classification NN 140/240 will be furtherdescribed by reference to FIG. 3 in combination with FIGS. 1 and 2. FIG.3 shows flowchart 350 presenting an exemplary method for use by system100 to train data classification NN 140/240 using a noisy dataset, suchas training dataset 116/216, according to one implementation. Withrespect to the method outlined in FIG. 3, it is noted that certaindetails and features have been left out of flowchart 350 in order not toobscure the discussion of the inventive features in the presentapplication.

Referring now to FIG. 3 in combination with FIGS. 1 and 2, flowchart 350begins with identifying multiple different combinations of layers fortesting data classification NN 140/240, where each combination of thedifferent combinations of layers includes one or more candidatefunctions for last activation layer 242(n) and one or more candidatefunctions for loss layer 244 (action 351). Some of the possiblecombinations of layers for testing data classification NN 140/240 aredescribed above by reference to Equation 5 through Equation 17. Action351 may be performed by software code 110, executed by hardwareprocessor 104.

Flowchart 350 continues with, for each combination of the differentcombinations of layers identified in action 351, configuring dataclassification NN 140/240 based on that combination (action 352). Forexample, for the combination described by Equations 14, 15, and 16, dataclassification NN 140/240 would be configured to include sigmoidactivation layer 242(n−1) implementing a sigmoid activation function,softmax last activation layer 242(n) implementing a softmax activationfunction, and CE loss layer 244 implementing a CE loss function. Asanother example, the combination described by Equation 17 would resultin data classification NN 140/240 being configured to include sigmoidactivation layer 242(n−1) implementing a sigmoid activation function,L₁-normalization last activation layer 242(n) implementing anL₁-normalization function, and CE loss layer 244 implementing a CE lossfunction, and so forth. Configuration of data classification NN 140/240in action 352 may be performed by software code 110, executed byhardware processor 104.

Flowchart 350 continues with, for each combination of the differentcombinations of layers identified in action 351, inputting, intoconfigured data classification NN 140/240, training dataset 116/216including multiple data objects (action 353). The data objects includedin training dataset 116/216 may take a variety of forms such as images,audio content, audio-visual content such as movies or televisioncontent, an electronic book or document (e-book or e-document), or adata structure, to name a few examples. Training dataset 116/216 may beprovided as an input to configured data classification NN 140/240 bysoftware code 110, executed by hardware processor 104.

Flowchart 350 continues with, for each combination of the differentcombinations of layers identified in action 351, receiving, fromconfigured data classification NN 140/240, classification 118/218 of thedata objects included in training dataset 116/216 (action 354).Classification 118/218 of the data objects included in training dataset116/216 may be received from configured data classification NN 140/240by software code 110, executed by hardware processor 104.

Flowchart 350 continues with, for each combination of the differentcombinations of layers identified in action 351, generating aperformance assessment for that combination based on classification118/218 (action 355). In some implementation, for example, theperformance assessment for each combination of layers identified inaction 351 may take the of the F₁ score or F-measure of classification118/218 resulting from each of the different combinations of layers. Theperformance assessment for each of the combination of layers identifiedin action 351 may be generated by software code 110, executed byhardware processor 104.

According to the exemplary outline provided by FIG. 3, flowchart 350concludes with determining a preferred combination of layers for dataclassification NN 140/240 from among the different combinations oflayers identified in action 351 based on a comparison of the performanceassessments generated in action 355, the preferred combination includinga selected candidate from amongst the one or more candidate function forthe last activation layer and a selected candidate from amongst the oneor more candidate functions for the loss layer (action 356). Forexample, where the performance assessments take the form of F₁ scores orF-measures for each combination, the combination of layers having thehighest F₁ score or F-measure may be determined to be the preferredcombination of layers for optimizing data classification NN 140/240. Thepreferred combination of layers for optimizing the performance of dataclassification NN 140/240 may be determined by software code 110,executed by hardware processor 104.

In some implementations, the selected candidate for last activationlayer 242(n) of the preferred combination of layers may be one of asigmoid activation function or a softmax activation function. In someimplementations, the selected candidate for last activation layer 242(n)may be a normalization layer, and the preferred combination of layersmay include activation layer 242(n−1) in the form of a sigmoidactivation layer, followed by last activation layer 242(n), followed byloss layer 244. In some such implementations, the selected candidate forthat normalization layer, i.e., the selected candidate for lastactivation layer 242 (n) may be one of a softmax activation function oran L₁-normalization function. In some implementations, the selectedcandidate for loss layer 244 may take the form of a CE loss function.For example, in implementations in which the preferred combination oflayers includes activation layer 242(n−1) in the form of a sigmoidactivation layer, followed by last activation layer 242(n) in the formof normalization layer, followed by loss layer 244, loss layer 244 maybe a CE loss layer.

As noted above, in some implementations, training dataset 116/216 mayinclude data objects including images. In some of those implementations,hardware processor 104 may execute software code 110 to generate theimages included in training dataset 116/216. FIG. 4 shows flowchart 460presenting an exemplary method for use by system 100, in FIG. 1, togenerate training dataset 116/216 for training data classification NN140/240 to classify images, according to one implementation, while FIG.5 shows an exemplary diagram of a portion of such a training dataset astraining dataset 516 including montage 570 of real images of numeralsarranged within labeled tiles 572 a, 572 b, and 572 c.

With respect to the method outlined in FIG. 4, it is noted that certaindetails and features have been left out of flowchart 460 in order not toobscure the discussion of the inventive features in the presentapplication. Referring now to FIG. 4 in combination with FIG. 1,flowchart 460 begins with obtaining real images (action 461). In someimplementations, the real images may be included in source data 114obtained from dataset repository 120. In one implementation, forexample, source data 114 including real images may be obtained from theModified National Institute of Science and Technology (MNIST) datasetincluding real images of handwritten numerals. The real images includedin source data 114 may be obtained from dataset repository 120 bysoftware code 110, executed by hardware processor 104, via communicationnetwork 108 and network communication links 128.

Referring to FIG. 4 with further reference to FIG. 5, flowchart 460continues with compositing the real images obtained in action 461 toform montage 570 of the real images (action 462). In one suchimplementation, for example, the original images included in source data114 may be composited into a montage of nine images. Compositing of thereal images to form montage 570 may be performed by software code 110,executed by hardware processor 104.

Flowchart 460 continues with identifying multiple labels for associationwith montage 570 (action 463). By choice of parameter, the number ofactive labels is selected. In implementations in which the real imagesare composited into a montage of nine images, for example, action 463can result in any of tiles 572 a, 572 b, or 572 c of montage 570 beingactive with one to nine labels. In implementations in which trainingdata 116/216 is generated from the MNIST dataset, training dataset116/216 may include the same ten classes included in the MNIST dataset.The multi-label approach allows multiple numerals to be active wheretheir positions are not important. Action 463 may be performed bysoftware code 110, executed by hardware processor 104.

Flowchart 460 can conclude with labeling montage 570 using one or moreof the labels identified in action 463 to generate the images oftraining dataset 116/216, where noise is parametrically introduced intotraining dataset 116/216, resulting in a subset of those images beingpurposely mislabeled (action 464). Action 464 may be performed bysoftware code 110, executed by hardware processor 104.

In implementations in which the images included in training dataset116/216 are generated based on the MNIST dataset, the images in trainingdataset 116/216 differ from those included in the MNIST dataset in threesignificant ways. First, unlike the images in the MNIST dataset, theimages in training dataset 116/216 are multi-label. As noted above, theoriginal images may be composited into a montage of nine images. Asfurther noted above, by choice of parameter, the number of active labelsis selected, which, referring to FIG. 5, results in any of tiles 572 a,572 b, or 572 c of montage 570 being active with one to nine labels.

A second difference between training dataset 116/216 and the MNISTdataset is that training dataset 116/216 contains structured classimbalances that may be denoted as “peaks.” By choice of parameter, thenumber of peaks is chosen, i.e., the number of labels with highlikelihood of being present. This results in a different labeldistribution, where certain labels may occur in almost every image.Extreme imbalance causes two behaviors: (1) the number of trainingimages will be much higher in those cases, and (2) an “always-active”label is virtually irrelevant because when a label is always activethere is nothing to learn.

A third difference between training dataset 116/216 and the MNISTdataset is that training dataset 116/216 contains structured noise inthe form of the presence or absence of labels or images. Again by choiceof parameter, the number of label switches is chosen. This results in acorrupted label distribution that is characterized by the number offalse positives and false negatives. A false positive (in view of thelabels) is an active label for which there is no underlying evidence inthe image, i.e., the labeled numeral is not visible in the image. Afalse negative is an inactive label despite the presence of itscorresponding numeral in the image. The choice of parameter determinesthe likelihood of each case and their combination results in a labelswitch, i.e., an extra numeral and an extra label but mismatched.

The overall distribution of training dataset 116/216 is characterized bythe parameters discussed above. The value dp is the number of peaks, thevalue pn is the likelihood of noise, and the value pa determines thebalance between false positives and false negatives. Othercharacteristics of the original MNIST dataset may be retained bytraining dataset 116/216, such that the images are real imageshand-drawn by humans and labelled by humans. The images can be cleangray-scale images, where the image itself is not corrupted beyond humancalligraphy.

Thus, in summary, the task is to learn a multi-label classification, anddetermine all active numerals in each image of training dataset 116/216.Using combinations of images in source data 114, any number of trainingand testing examples can be generated. It is noted that the true groundtruth of source data 114 is recorded, which contains the actual presenceof numerals in each image, in contrast to the above described corruptedground truth resulting from the purposeful introduction of noise intotraining dataset 116/216.

With respect to the methods outlined by flowcharts 350 and 460, it isnoted that, in some implementations, hardware processor 104 may executesoftware code 110 to perform actions 351, 352, 353, 354, 355, and 356,and/or actions 461, 462, 463, and 464, in an automated process fromwhich human involvement may be omitted.

Thus, the present application discloses systems and methods forperforming data object classification using an optimized neural networkthat overcome the drawbacks and deficiencies in the conventional art.Due to the improved performance of data classification NN 140/240 duringdeep learning made possible by the NN optimization solution disclosed bythe present application, several distinct improvements over thestate-of-the-art result. Examples of such improvements include enablingthe learning to take place on high-variation and highly unstructureddatasets, improved handling of extreme frequency noise in a dataset,easier applicability due to the parameter-free normalization, fasterconvergence, i.e., less time and energy required in deep learning, aswell as improved recall of labels at a predetermined precision level,and vice versa. In addition, the overall training process is less costlydue to the reduced resource requirements, while resulting in dataclassification NN 140/240 having superior classification accuracy.

From the above description it is manifest that various techniques can beused for implementing the concepts described in the present applicationwithout departing from the scope of those concepts. Moreover, while theconcepts have been described with specific reference to certainimplementations, a person of ordinary skill in the art would recognizethat changes can be made in form and detail without departing from thescope of those concepts. As such, the described implementations are tobe considered in all respects as illustrative and not restrictive. Itshould also be understood that the present application is not limited tothe particular implementations described herein, but manyrearrangements, modifications, and substitutions are possible withoutdeparting from the scope of the present disclosure.

What is claimed is:
 1. A system for classifying data objects, the systemcomprising: a computing platform including a hardware processor and asystem memory; a software code and a neural network (NN) stored in thesystem memory, the NN having a plurality of layers including one or moreactivation layers and a loss layer, the one or more activation layerscomprising a last activation layer; the hardware processor configured toexecute the software code to: identify a plurality of differentcombinations of layers for testing the NN, each combination of theplurality of different combinations of layers including one or morecandidate functions for the last activation layer and one or morecandidate functions for the loss layer; for each combination of theplurality of different combinations of layers: configure the NN based onthe each combination; input, into the configured NN, a training datasetincluding a plurality of data objects; receive, from the configured NN,a classification of the plurality of data objects in the trainingdataset; generate a performance assessment for the each combinationbased on the classification; and determine a preferred combination oflayers for the NN from among the plurality of different combinations oflayers based on a comparison of the performance assessments, thepreferred combination of layers comprising a selected candidate amongstthe one or more candidate functions for the last activation layer and aselected candidate amongst the one or more candidate functions for theloss layer.
 2. The system of claim 1, wherein the selected candidate forthe last activation layer of the preferred combination of layers is asoftmax activation function, and wherein the last activation layerfollows a sigmoid activation layer.
 3. The system of claim 1, whereinthe one or more activation layers includes an additional normalizationlayer, and wherein each combination of the plurality of differentcombinations of layers further includes one or more candidate functionsfor the additional normalization layer.
 4. The system of claim 3,wherein the selected candidate for the last activation layer is one of asigmoid activation function, a softmax activation function, or anL₁-normalization function.
 5. The system of claim 3, wherein theselected candidate for the loss layer comprises a cross entropy lossfunction.
 6. The system of claim 1, wherein the plurality of dataobjects in the training dataset comprises a plurality of images.
 7. Thesystem of claim 6, wherein the hardware processor is further configuredto execute the software code to generate the plurality of images in thetraining dataset.
 8. The system of claim 6, wherein the hardwareprocessor is further configured to execute the software code to: obtaina plurality of real images; composite the plurality of real images toform a montage of the plurality of real images; identify a plurality oflabels for association with the montage; label the montage using one ormore of the plurality of identified labels to generate the plurality ofimages in the training dataset; wherein noise is parametricallyintroduced into the training dataset, resulting in a subset of theplurality of images being purposely mislabeled.
 9. The system of claim8, wherein a plurality of parameters utilized to introduce the noiseinto the training dataset comprises a number of peaks (dp) in thetraining dataset, a likelihood of noise (pn) in the training dataset,and a balance (pa) between false positives and false negatives in thetraining dataset.
 10. A method for use by a system for classifying dataobjects, the system including a computing platform having a hardwareprocessor and a system memory storing a software code and a neuralnetwork (NN), the NN having a plurality of layers including one or moreactivation layers and a loss layer, the or more activation layerscomprising a last activation layer, the method comprising: identifying,by the software code executed by the hardware processor, a plurality ofdifferent combinations of layers for testing the NN, each combination ofthe plurality of different combinations of layers including one or morecandidate functions for the last activation layer and one or morecandidate functions for the loss layer; for each combination of theplurality of different combinations of layers: configuring, by thesoftware code executed by the hardware processor, the NN based on theeach combination; inputting into the configured NN, by the software codeexecuted by the hardware processor, a training dataset including aplurality of data objects; receiving from the configured NN, by thesoftware code executed by the hardware processor, a classification ofthe plurality of data objects in the training dataset; generating, bythe software code executed by the hardware processor, a performanceassessment for the each combination based on the classification; anddetermining, by the software code executed by the hardware processor, apreferred combination of layers for the NN from among the plurality ofdifferent combinations of layers based on a comparison of theperformance assessments, the preferred combination of layers comprisinga selected candidate amongst the one or more candidate functions for thelast activation layer and a selected candidate amongst the one or morecandidate functions for the loss layer.
 11. The method of claim 10,wherein the selected candidate for the last activation layer of thepreferred combination of layers is a softmax activation function, andwherein the last activation layer follows a sigmoid activation layer.12. The method of claim 10, wherein the one or more activation layersincludes an additional normalization layer, and wherein each combinationof the plurality of different combinations of layers further includesone or more candidate functions for the additional normalization layer.13. The method of claim 12, wherein the selected candidate for the lastactivation layer is one of a sigmoid activation function, a softmaxactivation function, or an L₁-normalization function.
 14. The method ofclaim 12, wherein the selected candidate for the loss layer comprises across entropy loss function.
 15. The method of claim 10, wherein theplurality of data objects in the training dataset comprises a pluralityof images.
 16. The method of claim 15, further comprising generating, bythe software code executed by the hardware processor, the plurality ofimages in the training dataset.
 17. The method of claim 15, furthercomprising: obtaining, by the software code executed by the hardwareprocessor, a plurality of real images; compositing, by the software codeexecuted by the hardware processor, the plurality of real images to forma montage of the plurality of real images; identifying, by the softwarecode executed by the hardware processor, a plurality of labels forassociation with the montage; and labeling, by the software codeexecuted by the hardware processor, the montage using one or more of theplurality of identified labels to generate the plurality of images inthe training dataset; wherein noise is parametrically introduced intothe training dataset, resulting in a subset of the plurality of imagesbeing purposely mislabeled.
 18. The method of claim 17, wherein aplurality of parameters utilized to introduce the noise into thetraining dataset comprises a number of peaks (dp) in the trainingdataset, a likelihood of noise (pn) in the training dataset, and abalance (pa) between false positives and false negatives in the trainingdataset.
 19. A method for use by a system having a hardware processorand a system memory storing a software code and a neural network (NN),to generate a training dataset for training the NN to classify images,the method comprising: obtaining, by the software code executed by thehardware processor, a plurality of real images; compositing, by thesoftware code executed by the hardware processor, the plurality of realimages to form a montage of the plurality of real images; identifying,by the software code executed by the hardware processor, a plurality oflabels for association with the montage; and labeling, by the softwarecode executed by the hardware processor, the montage using one or moreof the plurality of identified labels to generate the training dataset;wherein noise is parametrically introduced into the training dataset,resulting in a subset of the training dataset being purposelymislabeled.
 20. The method of claim 19, wherein a plurality ofparameters utilized to introduce the noise into the training datasetcomprises a number of peaks (dp) in the training dataset, a likelihoodof noise (pn) in the training dataset, and a balance (pa) between falsepositives and false negatives in the training dataset.